package design.mode.model.composite;

/**
 * @author ldanniel
 * @description todo
 * @date 2023/09/17:43
 * @since jdk11
 */
public class CompositeTest {
    public static void main(String[] args) {
        MenuTree menuTree = new MenuTree();
        MenuComponent component = menuTree.getMenu();
        component.print();
    }
}
